#ifndef NOTEBUTTON_H
#define NOTEBUTTON_H

#include <QPushButton>
#include <QPaintEvent>

class NoteButton : public QPushButton
{
    Q_OBJECT
public:
    explicit NoteButton(QWidget *parent = nullptr);

    void updateText(const QString &text);

private:
    void paintEvent(QPaintEvent *event);
};

#endif // NOTEBUTTON_H
